This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
You will have to parse the values out of the Request_Content. Since you're on ND6, you can use the Split method to separate the values out into an array like:
Dim NameValuePairs As Variant
NameValuePairs = Split(doc.Request_Content(0),"&")
Then, for each of the array members, you'll find the fieldname with StrLeft (using "=") and the value using StrRight (again, using "="). If you want, you can create fields on your DocumentContext:
Forall nv in NameValuePairs
doc.ReplaceItemValue(StrLeft(nv,"="),StrRight(nv,"="))
End Forall
That, unfortunately, creates the fields with text values. You can add handling to the agent to convert the strings to the correct data type to fill the fields, and you can also separate multiple values if you need to (as long as you know ahead of time what the separator should be). You'll also want to make sure that a field is not created for _Click if you need to save the document.